<?php 
    $this->headLink()
        ->appendStylesheet('/css/style-default.css')
        ->appendStylesheet('/css/style_ie.css', 'screen, projection', 'lte IE 6')
        ->appendStylesheet('/css/ui/jquery-ui-1.8.16.custom.css')
    ;
    $this->headScript()->appendFile(
        'http://html5shiv.googlecode.com/svn/trunk/html5.js', 'text/javascript', array('conditional' => 'IE')
    );
    $this->headMeta()->setCharset($this->getEncoding());
    $request = Zend_Controller_Front::getInstance()->getRequest();
?>
<?php echo $this->doctype(); ?>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <?php echo $this->headMeta(); ?>

    <?php echo $this->headTitle('otaku-sama')->setSeparator(' - '); ?>

    <?php echo $this->headLink(); ?>

</head>
<body>

<div id="wrapper">

    <header id="header">
        <div id="logo"></div>
        <div id="topNav">
            <?php echo $this->navigation()->menu(); ?>

        </div>
    </header><!-- #header-->

    <section id="middle">

        <div id="container">
            <?php echo $this->messenger('_partials/messenger/default.phtml') ?>

            <div id="content">
                <?php echo $this->layout()->content; ?>

            </div><!-- #content-->
        </div><!-- #container-->

        <aside id="sideRight">
            <div id="memberBox">
                <?php if ($this->isLoggedIn): ?>
                    <?php echo $this->partial('_partials/member-info.phtml', array('authMember' => $this->authMember)); ?>
                <?php elseif ($request->getControllerName() != 'auth'): ?>
                    <?php echo $this->loginForm; ?>
                    <a href="<?php echo $this->url(array(), 'signup', true); ?>"><?php echo $this->translate('signup'); ?></a>
                <?php endif; ?>

            </div>
        </aside><!-- #sideRight -->

    </section><!-- #middle-->

</div><!-- #wrapper -->

<footer id="footer">
    <div id="bottomNav">
        <a href="#" title="">FAQ</a> | 
        <a href="#" title="">About</a> | 
        <a href="#" title="">Feedback</a> | 
        <a href="#" title="">Terms</a> | 
        <a href="#" title="">Privacy</a>
    </div>
    <?php echo $this->partial('_partials/profiler.phtml'); ?>

</footer><!-- #footer -->
    <?php echo $this->jQuery(); ?>

    <?php echo $this->headScript(); ?>

</body>
</html>